<!--
 * @Description: In User Settings Edit
 * @Author: your name
 * @Date: 2019-10-14 12:34:59
 * @LastEditTime: 2019-10-15 13:01:13
 * @LastEditors: Please set LastEditors
 -->
<template>
  <div>
    <div class = "w">
      <div class = "header">
        <p>网站公告</p>
      </div>
      <div class = "contentDiv">
        <ul class = "contentUl">
          <li v-for = "(i,index) in msg"
              :key = "index"
              class = "clearfix">
            <span class = "left">{{i.content}}</span>
            <span class = "right">{{i.time}}</span>
          </li>
        </ul>
        <div class = "bottomDiv clearfix">
        <span class = "left"
              style = "line-height:32px">共有163条消息</span>
          <el-pagination layout = "prev, pager, next"
                         :total = "170"
                         class = "right"
                         background>
          </el-pagination>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
    export default {
        data() {
            return {
                msg: [
                    {content: '9月14日最新理财产品预告', time: '2015-09-12'},
                    {content: '豆兑换规则', time: '2015-09-12'},
                    {content: '9月12日最新理财产品预告', time: '2015-09-12'},
                    {content: '9月11日最新理财产品预告', time: '2015-09-11'},
                    {content: '9月10日最新理财产品预告', time: '2015-09-09'},
                    {content: '9月9日最新理财产品预告', time: '2015-09-09'},
                    {content: '9月8日最新理财产品预告', time: '2015-09-07'},
                    {content: '9月7日最新理财产品预告', time: '2015-09-06'},
                    {content: '9月7日最新理财产品预告', time: '2015-09-05'}
                ]
            }
        }
    }
</script>

<style scoped>
  .contentDiv {
    color: #5c5a5a;
  }
  .contentUl{
    margin-bottom: 20px;
  }
  .contentUl li {
    height: 50px;
    line-height: 50px;
    border-bottom: 1px #797979 dotted;
  }

</style>
